﻿
Partial Class Admin_appStateCustomizationPrint
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

        Dim logoObject As Cdm.DataCore.LookupTables.LuApplicationSettings
        logoObject = Cdm.DataCore.LookupTables.LuApplicationSettings.Retrieve("CurrentLogo")

        headerLogo.ImageUrl = logoObject.SettingValue

        Dim appName As Cdm.DataCore.LookupTables.LuApplicationSettings
        appName = Cdm.DataCore.LookupTables.LuApplicationSettings.Retrieve("AppName")

        lblAppName.Text = appName.SettingValue

        Dim stateDept As Cdm.DataCore.LookupTables.LuApplicationSettings
        stateDept = Cdm.DataCore.LookupTables.LuApplicationSettings.Retrieve("StateDeptName")

        Me.lblDeptName.Text = stateDept.SettingValue
        
        Me.SettingsGridView.DataSource = Cdm.DataCore.LookupTables.LuApplicationSettings.ListBySortWithoutLogo("SettingName")
        Me.SettingsGridView.DataBind()
    End Sub
End Class
